#pragma once
#include "adsr.h"
class CFreqADSR :
	public CADSR
{
public:
	CFreqADSR(void);
	~CFreqADSR(void);

	virtual void Start( void );
	virtual bool Generate( void );

	void SetWhiteNoise( double aWhiteNoise ) { mWhiteNoise = aWhiteNoise; }

private:
	double mResony1[2];
	double mResony2[2];

	double mResonBand;
	double mResonFreq;
	double mWhiteNoise;

};

